projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dd95bf
)
* admin/automerge: Abort if NEWS gets modified.
author
Glenn Morris
<rgm@gnu.org>
Fri, 26 Oct 2018 04:57:53 +0000
(21:57 -0700)
committer
Glenn Morris
<rgm@gnu.org>
Fri, 26 Oct 2018 04:57:53 +0000
(21:57 -0700)
admin/automerge
patch
|
blob
|
history
diff --git
a/admin/automerge
b/admin/automerge
index e88711f8d6dd0b37be4214d3225bafd1eee8c98f..b320369d17432cea20f702671cab7d165d573b75 100755
(executable)
--- a/
admin/automerge
+++ b/
admin/automerge
@@
-174,6
+174,12
@@
merge ()
merge
+## FIXME it would be better to trap this in gitmerge.
+## NEWS should never be modified, only eg NEWS.26.
+git diff --stat --cached origin/master | grep -q "NEWS " && \
+ die "NEWS has been modified"
+
+
[ "$build" ] || exit 0